[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
] \setupnote[footnote][location=none] \starttext    \input knuth     \cite[clark1989]     \placenotes[footnote]          \startchapter[title=Bibliography]     \placelistofpublications     \stopchapter \stoptext --Joel

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Jean-Pierre Delange
iography part doesn’t work for me at all. > > But notes may be placed as their location is text (and you add a real > footnote). > > This works fine: > > \setupnote[footnote][location=text] > > \starttext > \input knuth > \footnote{Footnote} >

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Pablo Rodriguez via ntg-context
uth \footnote{Footnote} \cite[clark1989] \placenotes[footnote] \startchapter[title=Bibliography] \placelistofpublications \stopchapter \stoptext I never used a bibliography in ConTeXt, so that part is left to you. I hop

[NTG-context] Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
[dataset=default] \usebtxdefinitions[sbl] \setupbtx[sbl] \setupnote[footnote][location=none] \starttext    \input knuth     \cite[clark1989]     \placenotes[footnote]          \startchapter[title=Bibliography]     \placelistofpublications     \stopchapter \stoptext --Joel

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
the change but it's possible he forgot to delete a few of them. When you notice no difference between both versions of a command page you can delete all of the forgotten pages. No! These are the general pages in opposite to instance pages, e.g. "startsection" and "startchapter" a

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Henning Hraban Ramm
hem. When you notice no difference between both versions of a command page you can delete all of the forgotten pages. No! These are the general pages in opposite to instance pages, e.g. "startsection" and "startchapter" are instances of "_startsection"? https://wi

[NTG-context] Re: last page number for a list

2024-04-03 Thread Wolfgang Schuster
[alanindex]\relax}% \thinspace --\thinspace \pagestaterealpage{alanpage}{\number\numexpr\incrementedcounter[alanindex]\relax}} \setuplist[chapter][pagecommand=\ChapterListPage] \setuplist[chapter][pagecommand=\ChapterListPage] \showgrid \starttext \completecontent \startchapter [title=Knuth

[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
g a custom list and use \writetolist immediately > before each \stopchapter command? > > \definelist[LastPages][criterium=all] > \starttext > \completecontent > \page > \completelist[LastPages] > \page > \dorecurse{10}{ > \startchapter[title={This is my chapter

[NTG-context] Re: last page number for a list

2024-04-03 Thread Bruce Horrocks
? \definelist[LastPages][criterium=all] \starttext \completecontent \page \completelist[LastPages] \page \dorecurse{10}{ \startchapter[title={This is my chapter}] This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv \writetolist[LastPages]{3.}{\namedstructurevariable{chapter

[NTG-context] Re: Use of marking

2024-03-21 Thread Thomas Meyer
[sectionnumber] \space - \space \getmarking[section] \stopsetups \setupheadertexts[\setup{doc:header}] \starttext \dorecurse{10}{ \startchapter[title={This is my chapter}] This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv \startsection[title={This is my section

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
ing: \startsetups[doc:header] \getmarking[chapternumber] \space - \space \getmarking[chapter] \space :: \space \getmarking[sectionnumber] \space - \space \getmarking[section] \stopsetups \setupheadertexts[\setup{doc:header}] \starttext \dorecurse{10}{ \startchapter[title={

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
[alternative=doublesided,location=,] \setupheadertexts[{\headnumber[section].~\getmarking[section]}---{\headnumber[chapter].~\getmarking[chapter]}] \setupfootertexts[][pagenumber][pagenumber][] \setuphead[chapter][header=high] \starttext \dorecurse{10}{ \startchapter[title={This is my chapter

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Jeroen
{\framed[width=130mm,align=right,leftframe=on, rulethickness=0.8pt]{#2}}% \egroup} \setuplabeltext[chapter=Boek~] \setuphead[chapter][style={\bfc}, command=\HeadTitle, textstyle=bold] ... \startchapter [title={Algemene Beginselen}, ownnumber={I}] Op di 19 mrt 2024 om 15:49 schreef Hraban Ramm

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Hraban Ramm
olor=black,      rulethickness=1px,height=30pt]{#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,     page=no] \starttext \startchapter   [title={Algemene Beginselen},    ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter   [title={Organi

[NTG-context] Adjusted Chapter Headings

2024-03-19 Thread Jeroen
tyle={\bfc},numbercommand=\MyNumberChapterCommand, page=no] \starttext \startchapter [title={Algemene Beginselen}, ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter [title={Organisatorische Structuren}, ownnumber={Boek II}] \samplefile{tufte} \stopchapter

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm
d]{\bf #1}\autoinsertnextspace} … \startsection[title=Lists] \TODO{Research the options of \tex{setupitemgroup}!} \stopsection … \startchapter[title=Work list]   Sections that still need work.\blank  \placetodos \stopchapter So I get a prominent marker in the content and the title of the affected section a

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
summaries. In any case, the MWE below correctly displays the "smile" images (in *.pdf format) and incorrectly displays the smile.svg image). On the other hand, the \startMPpage script given by Hans only produces a white square. The *.log is attached. The MWE : \starttext \startcha

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
ence[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title=Standards]   \placeregister[learnedlong]     \stopchapter \stoptext ___ If you

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
ence[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title=Standards]   \placeregister[learnedlong]     \stopchapter \stoptext ___ If your question is o

[NTG-context] How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
]\learnedis{%     \txt{} \getvalue{#1}     \learnedshort{#1}     \learnedlong{#1} } \define[1]\learned{%     \textreference[textref#1]{\expanded{\currentstructuretitle}}     \reference[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title

[NTG-context] Re: Log entries about confusing level change

2024-03-08 Thread Hans Hagen
nge at level 3 around 'back1' and they refer to the first chapter of the bodymatter and the first chapter of the backmatter, respectively. The example: \setupinteraction [state=start] \placebookmarks   [chapter] \starttext   \startfrontmatter     \startchapter [

[NTG-context] Log entries about confusing level change

2024-03-07 Thread Rik Kabel
d they refer to the first chapter of the bodymatter and the first chapter of the backmatter, respectively. The example: \setupinteraction [state=start] \placebookmarks   [chapter] \starttext   \startfrontmatter     \startchapter [title=front1]   \samplefil

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
/context/base/mkxl/context.mkxl >> mtx-context | current version: 2024.01.24 22:39 >> -- >> Stripped down MWE: >> \setuppapersize[A4] [A4] >> \starttext >> \completecontent[criterium=all] >> % ToC >> \page >> \chapter{CHAP 1} >>

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Wolfgang Schuster
\startbackmatter \startchapter[title=Literature] \placelistofpublications \stopchapter \stopbackmatter \stoptext Besides enabling numbering for the backpart you can use the appendix block which has numbering by default. %\defineconversionset[appendix:default][n] \starttext \startfrontmatter

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
2:39 >> -- >> >> Stripped down MWE: >> >> \setuppapersize[A4] [A4] >> \starttext >> \completecontent[criterium=all] >> % ToC >> \page >> \chapter{CHAP 1} >> TEXT >> \startbackmatter >> \startchapter[title=Literature] >&g

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Taco Hoekwater
text.mkxl > mtx-context | current version: 2024.01.24 22:39 > -- > > Stripped down MWE: > > \setuppapersize[A4] [A4] > \starttext > \completecontent[criterium=all] > % ToC > \page > \chapter{CHAP 1} > TEXT > \startbackmatter >

[NTG-context] Section numbering does not work

2024-02-12 Thread Oliver Marugg
/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2024.01.24 22:39 -- Stripped down MWE: \setuppapersize[A4] [A4] \starttext \completecontent[criterium=all] % ToC \page \chapter{CHAP 1} TEXT \startbackmatter \startchapter[title=Literature

[NTG-context] Re: chronological TOC

2024-01-29 Thread jbf
] Then at an appropriate point after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April 2017) to be the ordering factor in the list. I assume

[NTG-context] Re: chronological TOC

2024-01-29 Thread Bruce Horrocks
n defining a separate TOC to place at the back, but have >>> not succeeded in the chronological order! Here is what I have done: >>> >>> \definelist[chron][criterium=all,alternative=c] >>> >>> At the back of the book: >>> >>> \placelist[chron][cri

[NTG-context] Re: chronological TOC

2024-01-29 Thread Wolfgang Schuster
] At the back of the book: \placelist[chron][criterium=all] Then at an appropriate point after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April

[NTG-context] Re: chronological TOC

2024-01-27 Thread Henning Hraban Ramm
=all] Then at an appropriate point after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April 2017) to be the ordering factor in the list. I assume

[NTG-context] chronological TOC

2024-01-26 Thread jbf
after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April 2017) to be the ordering factor in the list. I assume it will be something to do

[NTG-context] Re: Links

2024-01-09 Thread Ursula Hermann
bleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par > (Beutelspacher [\hyphenatedurl {10},S.54]). > > \stoptext \hyphenatedurl only changes the hyphenation of its content, it doesn’t create a link. In your example it makes no sense. Generally, you need an anchor (link target) t

[NTG-context] Re: Links

2024-01-08 Thread Henning Hraban Ramm
need an anchor (link target) to link to, e.g. \startchapter[title={My chapter},reference=chap:first] or \chapter[chap:first]{My chapter} This works the same for other structure levels. I’m not sure about bibliography, but I think you must use the bib entry code. You can also set anchors

[NTG-context] Re: Problem with \startlinenumbering left and right arguments

2023-12-09 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 07.12.2023 um 19:21: Dear List, In the MWE below, the left and right arguments are not applied in the last chapter. How can this be fixed? \starttext \startlinenumbering[left={[},right={]}] \dorecurse{5}{% \startchapter[title={Knuth}] \samplefile{knuth

[NTG-context] Problem with \startlinenumbering left and right arguments

2023-12-07 Thread Marcus Vinicius Mesquita
Dear List, In the MWE below, the left and right arguments are not applied in the last chapter. How can this be fixed? \starttext \startlinenumbering[left={[},right={]}] \dorecurse{5}{% \startchapter[title={Knuth}] \samplefile{knuth} \stopchapter } \stoplinenumbering \stoptext Kind regards

[NTG-context] Problem with textstyle

2023-11-17 Thread Rik Kabel
, ] \starttext \startchapter    [title={Oops!}] \input knuth-gpt \par \stopchapter \stoptext Replacing the textstyle /cap/ by any of /bold/, /slanted/, /smallcaps/, and /italic/ results in a clean compilation but the indicated style is not applied. Using a style

[NTG-context] Frontpage and Titlepage

2023-10-02 Thread Jeroen
\startchapter [title={Chapter Title}] \samplefile{tufte} \stopchapter \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https

[NTG-context] Re: \underbar in head

2023-09-21 Thread Wolfgang Schuster
jbf schrieb am 21.09.2023 um 07:01: However, Wolfgang, if I do, e.g. \setuphead[chapter][textcommand={\setbar[underbar]}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext Then I do not get My Title with underline, which is what I want, and nor is anything

[NTG-context] Re: \underbar in head

2023-09-20 Thread jbf
However, Wolfgang, if I do, e.g. \setuphead[chapter][textcommand={\setbar[underbar]}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext Then I do not get My Title with underline, which is what I want, and nor is anything else underlined in 'Ward'. Could

[NTG-context] Re: \underbar in head

2023-09-20 Thread Wolfgang Schuster
jbf schrieb am 21.09.2023 um 05:03: Am attempting to get an underlined head style (chapter) with: \setuphead[chapter][textcommand=\underbar] But I get no underline. Am I doing something wrong? I can, of course, achieve the result at each chapter level with \startchapter[title={\underbar

[NTG-context] \underbar in head

2023-09-20 Thread jbf
Am attempting to get an underlined head style (chapter) with: \setuphead[chapter][textcommand=\underbar] But I get no underline. Am I doing something wrong? I can, of course, achieve the result at each chapter level with \startchapter[title={\underbar{text}}] but would prefer to achieve

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Jeroen
yfont=11pt, style={\tt}] \defineenumeration [Code] [title=yes, alternative=empty, before=\startCountFramedText, after=\stopCountFramedText, left={\somenamedheadnumber{chapter}{current}.}] \starttext \startchapter [title=first] \startCode [title={The First Title}, refer

[NTG-context] Framed Text with Chapter Numbers as Counter

2023-09-16 Thread Jeroen
CountFrame} {} \defineenumeration [Counter] [title=yes, alternative=empty, before=\startCountFramedText, after=\stopCountFramedText] \starttext \startchapter [title=first] \startCounter [title={The First Title}, reference={tit1}] Some verbatim text \stopCounter \startCounte

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
for these chapters? Thanks, Jeroen Untried: 1. Define a new section head that clones chapter (\definehead[NPChapter][chapter]). 2. Modify the new section head so that it does not do a break (\setuphead[NPChapter][page=no]). 3. Use the new section head instead of \chapter or \startchapter

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
. Define a new section head that clones chapter (\definehead[NPChapter][chapter]). 2. Modify the new section head so that it does not do a break (\setuphead[NPChapter][page=no]). 3. Use the new section head instead of \chapter or \startchapter

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
%   Test %   \blank %   #1\space#2 % \stoptexdefinition \starttext \myChapterCommand{1}{asdf} \startchapter[title=First][author=First Author] \input knuth \stopchapter \startchapter[title=Second][author=Second Author] \input knuth \stopchapter \setuphead[chapter]     [     before=,after

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
nd #1 #2 % doesn't work either, but at least blanks should work % \structureuservariable{author} % Test % \blank % #1\space#2 % \stoptexdefinition \starttext \myChapterCommand{1}{asdf} \startchapter[title=First][author=First Author] \input knuth \stopchapter \startchapter[title=Second][auth

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
} \startchapter[title=First][author=First Author] \input knuth \stopchapter \startchapter[title=Second][author=Second Author] \input knuth \stopchapter \setuphead[chapter] [ before=,after=,beforesection=,insidesection=, command=\myChapterCommand, ] \startchapter[title=Third][author={Third

[NTG-context] Using structureuservariables before the heading

2023-09-12 Thread denis.maier
rttext \macro{1}{2} \startchapter[title=First][author=First Author] \input knuth \stopchapter \startchapter[title=Second][author=Second Author] \input knuth \stopchapter \setuphead[chapter] [ before=,after=,beforesection=,insidesection=, command=\myChapterCommand, ] \startchapter

[NTG-context] Re: XML: flush to lua function

2023-09-12 Thread Taco Hoekwater
\xmlflush{#1} > \stopxmlsetups > \setuphead[chapter][expansion=yes] % make sure the stuff gets expanded on > time > \startxmlsetups xml:chapter > \startchapter >[ > > title={\xm

[NTG-context] Re: XML: flush to lua function

2023-09-12 Thread denis.maier
\xmlflush{#1} \stopxmlsetups \setuphead[chapter][expansion=yes] % make sure the stuff gets expanded on time \startxmlsetups xml:chapter \startchapter [ title={\xmlfilter{#1

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
=right, style=\ChapterFont, beforesection={\pageinjection[chapter:start]}, command=\ChapterStart, before={\startcolumnset[Spalten]}, after={\vskip-\lineheight}, % fix column start inbetween=, aftersection={\stopcolumnset}, ] \startchapter[title={Prolog 2: Reiseführer}][ motto={(quotation

[NTG-context] Re: out of order sectionsblocks

2023-09-05 Thread Hans Hagen via ntg-context
ndnote] [location=none]    \starttext      \startbodymatter       \startchapter[title={Body}]        \startparagraph         \input knuthmath         \startendnote         \input knuth-gpt         \stopendnote        \stopparagraph       \stopchapter      \stopbodymatter      \startback

[NTG-context] out of order sectionsblocks

2023-09-04 Thread Rik Kabel
rttext  \startbodymatter   \startchapter[title={Body}]    \startparagraph     \input knuthmath     \startendnote     \input knuth-gpt     \stopendnote    \stopparagraph   \stopchapter  \stopbodymatter  \startbackmatter   \startchapter[title={Notes}]    \plac

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Hans Hagen via ntg-context
ntents, using what is recommended at https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, it does not work. Here's a MWE: \definelistextra[page][before=\page] \starttext \starttitle[title={Table of contents}] \placecontent[extras={2=page}] \stoptitle \startchapter[title=

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Andres Conrado Montoya
d at > https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break > > However, it does not work. Here's a MWE: > > \definelistextra[page][before=\page] > \starttext > \starttitle[title={Table of contents}] > \placecontent[extras={2=page}] > \stoptitle > \startcha

[NTG-context] Not getting a page break in the ToC

2023-08-21 Thread Andres Conrado Montoya
[extras={2=page}] \stoptitle \startchapter[title={First chapter}] \input knuth \stopchapter \startchapter[title={Second chapter}] \input knuth \stopchapter \startchapter[title={Third chapter}] \input knuth \stopchapter \stoptext Is there a new way of obtaining a page break before a given part

[NTG-context] Re: disable header for endnotes

2023-08-16 Thread Rik Kabel
In the text: \startbackmatter \startchapter[reference={cha:notes}, list={Notes}, % toc bookmark={Notes}, % pdf bookmark title={Notes}] % chapter head [Lettrine=no] \setups{noteHeadings:on} \placenotes[endnote] \stopchapter -- Rik

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Mikael Sundqvist
\input ng-teoria-funcio-quadratica.conTeXt > \page[yes] > \input ng-teoria-teorema-de-Pitagores.conTeXt > \page[yes] > \input ng-teoria-apendix-figures-usuals-arees-volums.conTeXt > \page[yes] > \input ng-teoria-proporcionalitat-geometrica.conTeXt > \page[yes] > \input ng-teoria

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
-estadistica.conTeXt \page[yes] \input ng-teoria-probabilitat.conTeXt \stoppart \stopappendices \startbackmatter \input ng-pre-continguts-aliens.conTeXt \page[yes] % Bibliografia \startchapter[title=Referències] \placelistofpublications \stopchapter %% Índex alfabètic \completeindex \stopbackmatter

[NTG-context] Re: upload

2023-08-09 Thread Rik Kabel
are not displayed. \setuppagenumbering [alternative=doublesided,location=] \setupcaption[style=sans,headstyle=sans] \starttext \startchapter[title={Page Numbering Test}] \startplacetable[location={here,spit,force},title={Title?}] \starttabulate[|rp|lp|] \HL \NC tufte \NC \input tufte

[NTG-context] Problem with bibliography in apa

2023-06-27 Thread Marcelo Chaparro via ntg-context
n-existent. -- The source code is: \usebtxdataset[biblio.bib] \usebtxdefinitions[apa] \starttext \startchapter[title={A Chapter}] A text \cite[book1]. And \cite[book2] \stopchapter \startchapter[title=Bibliography] \placelistofpu

Re: [NTG-context] Protect the lettrine

2023-06-14 Thread Thangalin via ntg-context
fins \vbox to -0.055cm {\hskip -2.8cm \raise 1pt \hbox{meet > me at the second > line}}}, > page=no, > %] > > \starttext > > \startchapter[1] > \stopchapter > > \forgetinitial \par > > \startchapter[2] > \input knuth > \stopchapter > > \sto

Re: [NTG-context] Protect the lettrine

2023-06-14 Thread linguafalsa--- via ntg-context
applying it to where not otherwise. I just don't know. \setuphead[chapter][ after={\placeinitial\vbox to 1cm{\relax {K{\hskip 2pt \lower 5pt \hbox{ermit MUffins \vbox to -0.055cm {\hskip -2.8cm \raise 1pt \hbox{meet me at the second line}}}, page=no, %] \starttext \startch

Re: [NTG-context] How to show bibliography only for the chapter?

2023-05-06 Thread Alan Braslau via ntg-context
or the whole document. How can I limit the list to the > material falling within that chapter? > >     \starttext >     \startchapter[title={Robots}] >     \input knuth    \cite[source1] >     \placelistofpublications[criteria=bychapter] >     \plac

[NTG-context] How to show bibliography only for the chapter?

2023-05-06 Thread Joel via ntg-context
?     \starttext     \startchapter[title={Robots}]     \input knuth    \cite[source1]     \placelistofpublications[criteria=bychapter]     \placelistofpublications[way=bychapter]    \placelistofpublications[criteria=chapter]     \stopchapter

Re: [NTG-context] Non-standard font alternatives

2023-04-19 Thread Pawel Urbanski via ntg-context
[roboto] \setuphead[chapter] [style={\switchtobodyfont[roboto,20pt]\ss}] \starttext      \startchapter[title=Whatever is the best title]          \input tufte      \stopchapter \startchapter[title={Just a second title}] Some random text. \stopchapter \stoptext \definefontfeature[robotofeatures

Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.

2023-04-18 Thread Hans Hagen via ntg-context
] [ebgaramond] [default] \stoptypescript \setupbodyfont[robocop] \setuphead[chapter][style=\ssbfd] \starttext \startchapter[title=Whatever] \input tufte \stopchapter \page \usemodule[fonts-variable] \showfontvariations[font=file:robotoflex.ttf] \stoptext

[NTG-context] Userdata environment

2023-04-03 Thread Fabrice Couvreur via ntg-context
, align={flushleft,broad} ] {\startexemple \getinlineuserdata \stopexemple} \stopsetups \showframe \starttext \startchapter[title={First Chapter},ownnumber=1] \startdefinition \input ward \stopdefinition \startuserdata [margintext] \input ward \stopuserdata

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-31 Thread Willi Egger via ntg-context
List of figures] >> \startsubject[title=Figures (predefined figureenvironment)] >>\placelistoffigures >> \stopsubject >> >> \startsubject[title=Figures A] >> \placelistofAfigures >> \stopsubject >> >> \startsubject[

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Alan Braslau via ntg-context
ject[title=Figures A] > \placelistofAfigures > \stopsubject > > \startsubject[title=Figures B] > \placelistofBfigures > \stopsubject > \stoptitle > > \startpart[title=Part ONE] > \startchapter[title={Chapter one in part one}] %les21 > > \st

[NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
[title=Figures B] \placelistofBfigures \stopsubject \stoptitle \startpart[title=Part ONE] \startchapter[title={Chapter one in part one}] %les21 \startplaceAfigure [location=left, reference=fig:dumA, title={Dummy A}] {\externalfigure[dummy][width=0.6\textwidth

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Willi Egger via ntg-context
onsider the following example: >>>> \starttext >>>> \starttitle[title=Contents] >>>> \placelist[chapter][criterium=all] >>>> \stoptitle >>>> \startchapter[title=Mychapter] >>>> \input knuth >>>> \startsubject[

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Hans Hagen via ntg-context
] \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC] \writetolist[chapter]{1}{I am in TOC!} \input ward \stopsubject \stopchapter \stoptext According to the Wiki I should get te number (1) in the TOC. Instead the text starts at the height

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Willi Egger via ntg-context
wrote: > > Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: >> Good evening! >> I have a setup in which I need to send info to the TOC: >> Consider the following example: >> \starttext >> \starttitle[title=Contents] >> \placelist[chapter][cri

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Henning Hraban Ramm via ntg-context
Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input

[NTG-context] How to prefix the list of figures with part number?

2023-03-25 Thread Willi Egger via ntg-context
] \stopsubject \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC] \writetolist[chapter]{1}{I am in TOC!} \input ward \startplacefigure [location=middle, title=Cow 1

[NTG-context] \writetolist not writing the number to the TOC

2023-03-25 Thread Willi Egger via ntg-context
Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC

Re: [NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
dropref{%    \textreference[#1]{\expanded{\currentstructuretitle}} } \starttext \startchapter[title=Fish] \dropref{hello} \input knuth \stopchapter \startchapter[title=Whales] You can more information at \at{page}[hello] in \at{chapter}[hello] or \about[hello]. \stopchapter \stoptext S

[NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
xpanded{\currentstructuretitle}} } \starttext \startchapter[title=Fish] \dropref{hello} \input knuth \stopchapter \startchapter[title=Whales] You can more information at \at{page}[hello] in \at{chapter}[hello] or \about[hello]. \stopchapter \stoptext Strangely both at commands give the c

Re: [NTG-context] How to add data from another PDF in index?

2023-02-26 Thread Joel via ntg-context
ndicator=no] % > \define[1]\learnedis{% >     \txt{} \getvalue{#1} >     \learnedshort{#1} >     \learnedlong{#1} > } > \define[1]\learned{% >     \learnedshort{#1} >     \learnedlong{\getvalue{#1}} > } > > \starttext > > \learnedis{blah blah} > >

Re: [NTG-context] How to add data from another PDF in index?

2023-02-26 Thread Alan Braslau via ntg-context
}} > } > > \starttext > > \learnedis{blah blah} > > \input knuth > > \learnedis{some more} > > >     \startchapter[title=Standards] >         \placelearnedshort >     \stopchapter >      > \stoptext > > > My question is, can I have refe

Re: [NTG-context] structureuservariable as list

2023-02-25 Thread Alex Leray via ntg-context
Dear both, thanks for your answers. `doloopovermatch` didn't work for me but this below is achieving what I wanted. Have a good day, Alex %%% \def\dosomething#1{(#1)} \def\dosomethingtwo#1{* #1\crlf} \starttext \startchapter[title={Foo Bar}][ authors={Alice,Bob,Charline

Re: [NTG-context] structureuservariable as list

2023-02-25 Thread Hans Hagen via ntg-context
On 2/24/2023 11:37 PM, Rik Kabel via ntg-context wrote: Hi, is it possible to pass a list in a variable? I'd like to pass a list of authors: \startchapter[title={Foo Bar}][authors={Alice, Bob}] % PSEUDOCODE % for author in \structureuservariable{authors} % do print(author + '\crlf

Re: [NTG-context] How to add data from another PDF in index?

2023-02-24 Thread Alan Braslau via ntg-context
{% >     \learnedshort{#1} >     \learnedlong{\getvalue{#1}} > } > > \starttext > > \learnedis{blah blah} > > \input knuth > > \learnedis{some more} > > >     \startchapter[title=Standards] >         \placelearnedshort >     \stopchapter

Re: [NTG-context] structureuservariable as list

2023-02-24 Thread Rik Kabel via ntg-context
Hi, is it possible to pass a list in a variable? I'd like to pass a list of authors: \startchapter[title={Foo Bar}][authors={Alice, Bob}] % PSEUDOCODE % for author in \structureuservariable{authors} % do print(author + '\crlf') % done \stopchapter Search the wiki. Look for "

[NTG-context] structureuservariable as list

2023-02-24 Thread Alex Leray via ntg-context
Hi, is it possible to pass a list in a variable? I'd like to pass a list of authors: \startchapter[title={Foo Bar}][authors={Alice, Bob}] % PSEUDOCODE % for author in \structureuservariable{authors} % do print(author + '\crlf') % done \stopchapter Thanks

[NTG-context] How to add data from another PDF in index?

2023-02-23 Thread Joel via ntg-context
\learnedis{blah blah} \input knuth \learnedis{some more}     \startchapter[title=Standards]         \placelearnedshort     \stopchapter      \stoptext My question is, can I have references to the Workbook page numbers in the textbook? And visa-versa? For instance, the Textbook index currently

Re: [NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
t=0pt] > {#2}} > > \setuphead > [chapter]%,section,subsection] > [command=\ChapterCommand, >style=\ss\bf\tfd, >color=darkred] > > \setuphead > [title]%,subject,sububject] > [command=\TitleCommand, >style=\ss\bf\tfd, >color=darkred

[NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
ion] [command=\ChapterCommand, style=\ss\bf\tfd, color=darkred] \setuphead [title]%,subject,sububject] [command=\TitleCommand, style=\ss\bf\tfd, color=darkred] \setupbodyfont[bonum,rm,12pt] \showframe \starttext \startchapter[title={Introduction}] This is the chapter for introduct

[NTG-context] Why won't custom indexes work when the value comes from \getvalue?

2023-01-21 Thread Joel via ntg-context
} \starttext % \setcoreidea{this works} \input knuth \input knuth \input knuth \input knuth \setcoreidea{\getvalue{secret1}}         \startchapter[title=Core Ideas]             \placecoreidea         \stopchapter \stoptext

Re: [NTG-context] numbering questions

2023-01-01 Thread Henning Hraban Ramm via ntg-context
[reverse-section]    [section,chapter] [] \defineprefixset [reverse-subsection] [subsection,section,chapter] [] \setuphead   [section]   [sectionset=reverse-section] \setuphead   [subsection]   [sectionset=reverse-subsection] \starttext \startchapter [title={A}] \startsection [title={B

Re: [NTG-context] numbering questions

2023-01-01 Thread Wolfgang Schuster via ntg-context
]   [sectionset=reverse-subsection] \starttext \startchapter [title={A}] \startsection [title={B}] \startsubsection [title={C}] \stopsubsection \startsubsection [title={D}] \stopsubsection \startsubsection [title={E}] \stopsubsection \stopsection \startsection [title={F}] \startsubsection [title={G

Re: [NTG-context] Use section custom value in a header text.

2022-12-20 Thread Rik Kabel via ntg-context
of the attached key is not expanded.. Evey page will contain just one section started by a \startchapter and \stop chapter. I would like to put this custom attached value in the right slot in the document header. I hope that htis time around htigs are more clear. On Tue, Dec 20, 2022 at 8:13 PM Henning

Re: [NTG-context] Use section custom value in a header text.

2022-12-20 Thread Henning Hraban Ramm via ntg-context
of the attached key is not expanded.. Evey page will contain just one section started by a \startchapter and \stop chapter. I would like to put this custom attached value in the right slot in the document header. In headers and footers, you need \namedstructureuservariable{chapter}{custom_value

Re: [NTG-context] Use section custom value in a header text.

2022-12-20 Thread Pawel Urbanski via ntg-context
section started by a \startchapter and \stop chapter. I would like to put this custom attached value in the right slot in the document header. I hope that htis time around htigs are more clear. On Tue, Dec 20, 2022 at 8:13 PM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote:

Re: [NTG-context] Use section custom value in a header text.

2022-12-20 Thread Henning Hraban Ramm via ntg-context
the custom field was not expanded. It was correctly inserted in a regular paragraph. For example: \startchapter [title={A sample title}][custom_something={random_value}] ... \stopchapter How can I put the value of: custom_something in the header with some prefix? \define[2]\MyChapter{No.#1

[NTG-context] Use section custom value in a header text.

2022-12-20 Thread Pawel Urbanski via ntg-context
in a regular paragraph. For example: \startchapter [title={A sample title}][custom_something={random_value}] ... \stopchapter How can I put the value of: custom_something in the header with some prefix? All the best and thanks, Pawel

[NTG-context] Project structure with nested subfolders and shared environments.

2022-12-15 Thread Pawel Urbanski via ntg-context
* \startchapter[title={ Nested }] \input tufte \stopchapter \stopcomponent \stopproduct Unfortunately the default font is applied and EB Garamond is not picked up from the environment. The question is: ** How can I use such a structure to share styles and layouts kept i the 'Metadata' folder and use

  1   2   3   4   5   6   7   8   9   10   >